package cn.alpha.open.autocode.model;

import java.util.List;

public class EntityModel extends ClassModel 
{
	private boolean hasPK;
	private EntityFieldModel pkField;
	private List<EntityFieldModel> fields;
	private String tableName;
	private String tableComment;
	
	public List<EntityFieldModel> getFields() {
		return fields;
	}
	public void setFields(List<EntityFieldModel> fields) {
		this.fields = fields;
	}
	public boolean isHasPK() {
		return hasPK;
	}
	public void setHasPK(boolean hasPK) {
		this.hasPK = hasPK;
	}
	public String getTableName() {
		return tableName;
	}
	public void setTableName(String tableName) {
		this.tableName = tableName;
	}
	public EntityFieldModel getPkField() {
		return pkField;
	}
	public void setPkField(EntityFieldModel pkField) {
		this.pkField = pkField;
	}
	public String getTableComment() {
		return tableComment;
	}
	public void setTableComment(String tableComment) {
		this.tableComment = tableComment;
	}
	
}


